package com.zw.yzk.kabu.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by zhanwei on 2017/1/3.
 */

public class PublishImageModel implements Parcelable {
    private String contentPath;
    private String remark;


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.contentPath);
        dest.writeString(this.remark);
    }

    public PublishImageModel() {
    }

    protected PublishImageModel(Parcel in) {
        this.contentPath = in.readString();
        this.remark = in.readString();
    }

    public static final Parcelable.Creator<PublishImageModel> CREATOR = new Parcelable.Creator<PublishImageModel>() {
        @Override
        public PublishImageModel createFromParcel(Parcel source) {
            return new PublishImageModel(source);
        }

        @Override
        public PublishImageModel[] newArray(int size) {
            return new PublishImageModel[size];
        }
    };

    public String getContentPath() {
        return contentPath;
    }

    public void setContentPath(String contentPath) {
        this.contentPath = contentPath;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
